<html lang="en" xmlns:th="http://www.thymeleaf.org">
<link rel="stylesheet" href="../css/comment.css">
<div class="comment">
    <div class="ctitle">
        <span>收到的消息</span>
    </div>
    <div class="ccontent" th:each="comment:${commentList}">
        <div class="content">
            <p><span th:title="'邮箱：'+${comment.getEmail()}" th:text="${comment.getNike()}">小A</span> 评论了 <span th:text="${comment.getBlog().getBtitle()}">标题1标题1</span></p>
            <p th:text="${comment.getContent()}">内容1内容1内容1内容1内容1内容1内容1内容1内容1内容1</p>
            <p><span th:text="${comment.getSendtime()}">2021-07-13 15:09:55</span></p>
        </div>
        <div class="delete">
            <a th:href="@{/deleteComment(id=${comment.getId()})}"><span title="删除">×</span></a>
        </div>
    </div>
    
</div>
</html>